#include<stdio.h>
#include<string.h>
#include<stdlib.h>

int main(int argc,char*argv[])
{
    if(argc!=2)
    {
        printf("can not execute!\n");
        exit(1);
    }
    printf("获取环境变量：ZHEN_VAL:%s\n",getenv("ZHEN_VAL"));
    if(strcmp(argv[1],"-a")==0)
    {
        printf("hello a!\n");
    }
    if(strcmp(argv[1],"-b")==0)
    {
        printf("hello b!\n");
    }
    if(strcmp(argv[1],"-c")==0)
    {
        printf("hello c!\n");
    }
}
